package com.cqh.recruit.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import com.cqh.recruit.pojo.dto.LActivityCheckQueryDto;
import com.cqh.recruit.pojo.dto.StudentQueryDto;
import com.cqh.recruit.pojo.entity.Activity;
import com.cqh.recruit.pojo.entity.ActivityCheck;
import com.cqh.recruit.pojo.vo.LActivityCheckListVo;
import com.cqh.recruit.pojo.vo.StudentListVo;
import com.cqh.recruit.result.Result;

/**
 * @Description:
 * @Author: DengHao
 * @Date: 2025/10/18 18:53
 */
public interface IActivityCheckService extends IService<ActivityCheck> {

    Page<LActivityCheckListVo> findLActivityCheckByQueryDto(LActivityCheckQueryDto lActivityCheckQueryDto);

    LActivityCheckListVo findActivityCheckById(Long id);
    
    /**
     * 检查并更新活动容量
     * @param activityCheck 审核记录
     * @return 检查结果
     */
    Result checkAndUpdateActivityCapacity(ActivityCheck activityCheck);
}
